<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport">
<meta content="telephone=no" name="format-detection">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="微楼盘,本地生活互动平台"/>
<meta name="description" content=""/>
<title>微楼盘-本地生活互动平台</title>
<link href="{AMOUSE_HOUSE_RES}css/bootstrap.css?v=20150314" rel="stylesheet">
<link href="{AMOUSE_HOUSE_RES}css/main.css?v=20150314" rel="stylesheet">
<style type="text/css">
body {
    background: white;
}

img {
    border: medium none;
}

a {
    cursor: pointer;
    text-decoration: none;
}

a.autotel {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style-type: none;
}

small, small em {
    font-size: 15px;
}

.box:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.box {
}

.inner {
    margin: 0 auto;
    width: 100%;
}

.footFix {
    bottom: 0;
    left: 0;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 99;
}

.touchSlider {
    overflow: hidden;
    position: relative;
}

.touchSlider .sld_bar {
    vertical-align: top;
    z-index: 0;
}

.touchSlider .sld_page {
    display: inline;
    float: left;
}

.touchSlider .sld_dots {
    z-index: 1;
}

.touchSlider .inner {
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.touchSlider .inner a.toucher {
    background: none repeat scroll 0 0 red;
    display: block;
    left: 0;
    opacity: 0.5;
    position: absolute;
    top: 0;
    z-index: 1;
}

#dzhV2_hd {
    height: 115px;
}

#dzhV2_hd img {
    height: 115px;
    width: 320px;
}

#dzhV2_hd canvas {
    position: absolute;
}

#dzhV2_hd .sld_dots {
    position: absolute;
    top: 100px;
}

.dzhV2_box {
    margin: 10px;
    text-align: left;
}

.dzhV2_box h1 {
    background-repeat: no-repeat;
    color: #353535;
    font-size: 14px;
    height: 22px;
    line-height: 22px;
    padding-left: 16px;
}

.dzhV2_box ul {
    background-color: #F3F3F3;
    border: 1px solid #BFBFBF;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 1px 1px 0 #EFEFEF, -1px -1px 0 #EFEFEF;
    padding: 9px 0 3px 2px;
}

.dzhV2_box li {
    display: inline-block;
    float: left;
    height: 90px;
    text-align: center;
    width: 73px;
}

.dzhV2_box li a {
    color: #909090;
    display: block;
    font-size: 12px;
    line-height: 15px;
}
.dzhV2_box figure {
    background: url("{AMOUSE_HOUSE_RES}images/bk_mem.jpg") no-repeat scroll 0 0 / 54px 54px transparent;
    display: inline-block;
    float: right;
    height: 54px;
    margin: 0 9px 2px;
    text-align: left;
    width: 54px;
}

.dzhV2_box figure img {
    height: 44px;
    margin: 4px 0 0 5px;
    width: 44px;
}

.dzhV2_box li span {
    display: inline-block;
    font-size: 10px;
    line-height: 12px;
    width: 73px;
}

.dzhV2_box .inner {
    width: 292px;
}

.dzhV2_box canvas {
    display: inline-block;
    float: left;
    margin: 0 2px 0 3px;
}

.dzhV2_box .sld_dots {
    display: inline-block;
    height: 8px;
    margin: 5px auto;
}

.dzhV2_box .sldDotWarpper {
    text-align: left;
}
.logo {
    height: 42px;
    overflow: hidden;
    padding: 6px;
    position: absolute;
    width: 42px;
    margin: 0 0 0 10px;
}
.logo img {
    border-radius: 15px 15px 15px 15px;
    position: relative;
    width: 42px;
    z-index: 10;
    height: 42px;
}
.logo .circle {
    height: 54px;
    left: 0;
    position: absolute;
    top: 0;
    width: 54px;
    z-index: 100;
}
.logo .circle img {
    height: 54px;
    left: 0;
    position: absolute;
    top: 0;
    width: 54px;
    z-index: 100;
}
img {
    width: 100%;
}
.row-fluid > [class*="span12"] {
    float: left;
    margin-left: 0;
}
.navbtn {
    color: #F0EAEA;
    display: block;
    font-size: 16px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    width: 100%;
    background: #808080;
}
.navmesg {
    width: 100%;
    float: left;
}
.navtitle {
    width: 100%;
}
.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
    background: #000000;
}
a, a:hover {
    text-decoration: none;
}
.icon {
    position: relative;
    float: right;
    top: 30%;
    right: 10px;
    height: 18px;
    width: 18px;
    background: url({AMOUSE_HOUSE_RES}images/jiantou.png) no-repeat 0 0;
    background-size: 18px 18px;
}
.explist li {
    margin-bottom: 4px;
    padding-bottom: 4px;
    line-height: 22px;
    border-bottom: 1px dotted #BBB;
    overflow: hidden;
    list-style: none;
}
a:link, a:visited {
    color: #716251;
    text-decoration: none;
    outline-style: none;
}
.explist li img {
    float: left;
    margin: 8px;
    margin-left: 0;
    width: 95px;
    height: 72px;
    padding: 2px;
    border-radius: 4px;
}
.explist li h3 {
    margin-top: 4px;
    margin-bottom: 8px;
    height: 22px;
    font-size: 14px;
    overflow: hidden;
}
.meta {
    color: #777;
    padding: 0px 0 0;
}
.pages * {
    padding: 3px 6px;
    color: #999;
}
.pages {
    margin: 0px auto;
    padding: 3px;
    text-align: center;
}

.pages strong {
    background: #ADAD10;
    color: white;
}

.pages em, .pages strong {
    border-color: #ADAD10;
}
.pages * {
    padding: 1px 6px;
    color: #999;
}
.next {
    border: 1px solid rgb(197, 201, 196);
    font-size: 12px;
}
.prev{
    border: 1px solid rgb(197, 201, 196);
    font-size: 12px;
}
</style>
</head>
<body style="">
<div class="container-fluid" style="width:98%;margin: 0 auto;background: white;">
    <div class="row-fluid" style="margin-top:4px;">
        <div id="focus" class="focus">
            <div class="hd" style="display:none;">
                <ul></ul>
            </div>
            <div class="bd">
                <ul>
                    {loop $slides $s}
                    <li><a href="{$s['url']}"><img width="100%" height="125px" data-pinit="registered" src="{$_W['attachurl']}{$s['slide']}" style="width: 100%;height:150px;"/></a></li>
                    {/loop}
                </ul>
            </div>
        </div>
    </div>

    <ul class="explist" style="margin: 0;">
        {loop $list $flat}
        <li>
            <a href="{php echo $this->createmobileUrl('detail',array('a'=>'house','id'=>$flat[id],'openid'=>$flat[openid]),true)}" title="【新盘介绍】{$flat['name']}">
                <img src="{$_W['attachurl']}{$flat['thumb']}" title="【新盘介绍】{$flat['name']}"
                     alt="【新盘介绍】{$flat['name']}">
                <h3>【新盘介绍】{$flat['name']} ...</h3>
                <p style="font-size: 10px;line-height: 12px;color: slategray;">{php echo cutstr($flat['name'],30)} </p>
                <p class="meta">
                <span>
                    <img style="width: 10px;height: 10px;margin: 0px;margin-top: 2px;"  src="{AMOUSE_HOUSE_RES}images/icon_1.png">
                    &nbsp;有 {php echo !empty($flat['readcount']) ? $flat['readcount'] : 0} 阅读
                </span>
                    <span style="float: right;">{php echo date('Y-m-d',$flat['createtime'])}</span>
                </p>
            </a>
        </li>
        {/loop}
    </ul>
    <p>
    <div class="pages">
        {if $pindex== '1'}
        {if $pindex+1<=$pageend}
        <strong> {$pindex} </strong>
        &nbsp;
        <a href='{php echo $this->createmobileUrl('list',array('page'=>$pindex+1),true)}' class="next">下页</a>
        {else}
        <!-- <strong> {$pindex} </strong>-->
        {/if}
        {else}
        {if $pindex+1>=$pageend}
        <a href='{php echo $this->createmobileUrl('list',array('page'=>$pindex-1),true)}' class="prev">上页</a>
        <strong> {$pindex} </strong>
        {else}
        <a href='{php echo $this->createmobileUrl('list',array('page'=>$pindex-1),true)}' class="prev">上页</a>
        <strong> {$pindex}</strong>
        <a href='{php echo $this->createmobileUrl('list',array('page'=>$pindex+1),true)}' class="next">下页</a>
        {/if}
        {/if}
    </div>
    </p>

    <style type="text/css">
        .foot-fix-panel .panel-box .easycall-item {
            width: 25%;
            height: 100%;
            float: left;
            text-align: center;
            text-decoration: none;
        }
    </style>

    <div class="footerintro" style="width:100%;text-align: center;vertical-align: center;padding:10px 0 16px 0;font-size: 12px;margin-bottom: 30px;">
        <a style="color: #D8E2DC;text-decoration: none;"
           href="{$setting['guanzhuUrl']}">本页由
            <span style="color:rgb(114, 163, 114);">
                {if empty($setting['copyright'])}{$_W['account']['name']} {else} {$setting['copyright']}{/if}</span> 生成
        </a>
    </div>


    <div class="foot-fix-panel"  style="width: 100%;height:79px;visibility: visible;border-top: 1px solid rgb(228, 221, 221);background: white;">
        <div class="panel-box" style="width: 100%;">
            <div class="page " data-index="0"  style="display:block;width: 100%;height: 30px;background: rgb(56, 173, 75);color: white; left: 0px; transition: 0ms; -webkit-transition: 0ms; -webkit-transform: translate(0px, 0px) translateZ(0px);">
                <a class="easycall-item" href="{php echo $this->createMobileUrl('index',array('type'=>'0','wxid'=>$wxid),true)}">
                    <div class="title" style="color: white;border-right: 1px solid white;font-size: 14px;line-height: 30px;{if $_GPC['type']=='0'}background: rgb(60,120,0);{/if}">出售
                    </div>
                </a>
                <a class="easycall-item" href="{php echo $this->createMobileUrl('index',array('type'=>'1','wxid'=>$wxid),true)}">
                    <div class="title" style="color: white;border-right: 1px solid white;font-size: 14px;line-height: 30px;{if $_GPC['type']=='1'}background: rgb(60,120,0);{/if}">
                        求购
                    </div>
                </a>
                <a class="easycall-item" href="{php echo $this->createMobileUrl('index',array('type'=>'2','wxid'=>$wxid),true)}">
                    <div class="title" style="color: white;border-right: 1px solid white;font-size: 14px;line-height: 30px;{if $_GPC['type']=='2'}background: rgb(60,120,0);{/if}">
                        出售
                    </div>
                </a>
                <a class="easycall-item" href="{php echo $this->createMobileUrl('index',array('type'=>'3','wxid'=>$wxid),true)}">
                    <div class="title" style="color: white;font-size: 14px;line-height: 30px;{if $_GPC['type']=='3'}background: rgb(60,120,0);{/if}">求购</div>
                </a>
            </div>

            <div class="page " data-index="0"
                 style="display:block;width: 100%; left: 0px; transition: 0ms; -webkit-transition: 0ms; -webkit-transform: translate(0px, 0px) translateZ(0px);">
                <a
                        style="width: 33%;margin-top: -0px;border-bottom: 3px solid rgb(61, 120, 0);height: 46px;"
                        class="easycall-item" href="{php echo $this->createMobileUrl('new',array('a'=>'rent','openid'=>$openid),true)}">
                    <img style="width: 30px;height: 30px;" class="icon" src="{AMOUSE_HOUSE_RES}images/zhaopin.png">
                    <div class="title" style=" margin-top: -0px; ">发布租房</div>
                </a>
                <a style="width: 34%;margin-top: -0px;border-bottom: 3px solid rgb(91, 177, 0);height: 46px;"
                   class="easycall-item" href="{php echo $this->createMobileUrl('list',array('openid'=>$openid),true)}">
                    <img style="width: 30px;height: 30px;" class="icon" src="{AMOUSE_HOUSE_RES}images/xinpan.png">
                    <div class="title" style=" margin-top: -0px; ">新盘认证</div>
                </a>
                <a style="width: 33%;margin-top: -0px;border-bottom: 3px solid rgb(61, 120, 0);height: 46px;"
                   class="easycall-item" href="{php echo $this->createMobileUrl('new',array('a'=>'house','openid'=>$openid),true)}">
                    <img style="width: 30px;height: 30px;" class="icon" src="{AMOUSE_HOUSE_RES}images/zhaopin.png">
                    <div class="title" style=" margin-top: -0px; ">发布二手房</div>
                </a>
            </div>
        </div>
    </div>
    <div style="display:none">
        {php echo htmlspecialchars_decode($setting['cnzz'])}
    </div>
</div>
</body>
<script src="{AMOUSE_HOUSE_RES}js/TouchSlide.1.1.js?v=20150313"></script>
<script type="text/javascript">
    TouchSlide({
        slideCell: "#focus",
        titCell: ".hd ul",
        mainCell: ".bd ul",
        effect: "leftLoop",
        autoPlay: true,
        autoPage: true,
        switchLoad: "_src"
    });
</script>
<script language="javascript" src="{AMOUSE_HOUSE_RES}js/jquery.js?v=20150314"></script>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
{php $signPackage=$_W['account']['jssdkconfig'];}
<script>
    wx.config({
        debug: false,
        appId: '<?php echo $signPackage["appId"];?>',
        timestamp: '<?php echo $signPackage["timestamp"];?>',
        nonceStr: '<?php echo $signPackage["nonceStr"];?>',
        signature: '<?php echo $signPackage["signature"];?>',
        jsApiList: ['checkJsApi','onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo']
    });

    wx.ready(function () {
        var shareData = {
            desc : "【微楼盘-本地时尚生活互动平台】",
            title : "微楼盘-本地时尚生活互动平台】",
            imgUrl:"{$_W['attachurl']}{$setting['newflat_images']}",
            link :  "{$url}",
            trigger: function (res) {},
            complete: function (res) {},
            success: function (res) {
            },
            cancel: function (res) {
            },
            fail: function (res) {
            }
        };
        wx.onMenuShareAppMessage(shareData);
        wx.onMenuShareQQ(shareData);
        wx.onMenuShareWeibo(shareData);
        wx.onMenuShareTimeline(shareData);
    });
</script>

<script language="javascript">
function getNearby(catid) {
    if (navigator.geolocation) {
        navigator.geolocation.getCurrentPosition(function (position) {
                var lat = position.coords.latitude;
                var lng = position.coords.longitude;
                window.location.href = "wap.php?m=art_list&catid=" + catid + "&a=getnearby&b=1&lat=" + lat + "&lng=" + lng;
            },
            function (error) {
                var errorTypes = {
                    1: '呃...您不能拒绝获取位置服务哦',
                    2: '暂时获取不到您的位置信息，请稍候再试试吧',
                    3: '获取位置信息超时！'
                };
                alert(errorTypes[error.code], 2000);
            },
            {
                enableHighAccuracy: true,
                timeout: 5000
            }
        );
    }else {
        alert('版本过低，不支持定位服务！');
    }
}
</script>
</html>
